<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Register</title>

    <!-- Favicon -->
    <link rel="icon" href="/web/chat/media/img/favicon.png" type="image/png">

    <!-- Bundle Styles -->
    <link rel="stylesheet" href="/web/chat/vendor/bundle.css">

    <!-- App styles -->
    <link rel="stylesheet" href="/web/chat/css/app.min.css">
</head>
<body class="form-membership">

<div class="form-wrapper">

    <!-- logo -->
    <div class="logo">
        <img src="/web/chat/media/img/small-logo.png" alt="logo">
    </div>
    <!-- ./ logo -->

    <h5>Create account</h5>

    <!-- form -->
    <form  action="/base/register" method="post">
        <div class="form-group">
            <input type="email" name="email" class="form-control" placeholder="Email" required autofocus>
        </div>
        <div class="form-group">
            <input type="password" name="p1" class="form-control" placeholder="Password" required>
        </div>
        <div class="form-group">
            <input type="password" name="p2" class="form-control" placeholder="Password Again" required>
        </div>
        <button class="btn btn-primary btn-block">Register</button>
        <hr>
        <p class="text-muted">Already have an account?</p>
        <a href="/base/login" class="btn btn-outline-light btn-sm">Sign in!</a>
        <p style="color:red;margin-top:12px;" th:text="${msg}">&nbsp;</p>
    </form>
    <!-- ./ form -->

</div>

<!-- Bundle -->
<script src="/web/chat/vendor/bundle.js"></script>

<!-- App scripts -->
<script src="/web/chat/js/app.min.js"></script>
</body>
</html>